var sessionId = sessionStorage.getItem('sessionId');
$(function () {
	//var sessionid = "oQ_An0kU43VqNlMEBMJNuOCJHi5Y"
	$("#reviewed_btn").click(function(){
		console.log($("#content").val());
		$.ajax({
			type: "POST",
			url:"https://www.bjdeshangyuan.com/book/api/feedBack",
			data:{
				sessionid:sessionId,
				content:$("#content").val()
			},
			success:function(data){
				if(data.code == "USR000"){
					layer.msg('提交成功',{
						time:1000
					})
				}


			}
		})
	})


	/* 返回上一级页面 */
	$("#back").click(function(){
		window.history.back();
	})

})